/*
 * @Author: your name
 * @Date: 2021-05-30 11:40:03
 * @LastEditTime: 2021-06-30 17:36:27
 * @LastEditors: zhoulei0232
 * @Description: In User Settings Edit
 * @FilePath: \vue3-admin\src\api\index.js
 */
// mock数据直接调用axios
import request from "../utils/request";

export default {
  // 获取用户信息
  login(params: Object) {
    return request({
      url: "/login",
      method: "post",
      data: params || {},
      loading: true,
      ele: ".app-plus",
      mock: true,
    });
  },
};
